//  [9/5/2013 OMEGA] created

#ifndef _DUELASSENEWPROJECTWIZZARD_H_
#define _DUELASSENEWPROJECTWIZZARD_H_

#include <QWizard>
#include "ui_DuelAssENewProjectWizzard.h"


class DAssENewProjectWizard : public QWizard
{
	Q_OBJECT
public:
	DAssENewProjectWizard(QWidget* parent);
	virtual ~DAssENewProjectWizard();

	void		setLastDirectory(const QString& dir) { mLastDirectory = dir; }

	//////////////////////////////////////////////////////////////////////////
	// this wizard ensures that the root dir is absolute dir
	QString		getProjectRootDir();
	QString		getAssetFolderName();
	QString		getDescFolderName();
	QString		getProjectName();

	bool		validateCurrentPage();
public slots:
	void		onPageChange(int index);
	void		browserDirectory();
	void		forceProjectName(int state);

private:
	Ui::NewProjectWizardClass ui;
	QString		mCacheProjName;
	QString		mLastDirectory;
};


#endif
